package zry.Achievement.Textbook;

import lombok.Data;

import java.sql.Date;

@Data
public class Textbook {
    private String a_id;
    private String t_name;
    private String t_publisher;
    private Date t_time;
    private String t_contribution;
    private String t_supporting;

    public Textbook() {
    }

    public Textbook(String achievement_id, String textbook_name, String textbook_publisher, Date textbook_time, String textbook_contribution, String textbook_supporting) {
        this.a_id = achievement_id;
        this.t_name = textbook_name;
        this.t_publisher = textbook_publisher;
        this.t_time = textbook_time;
        this.t_contribution = textbook_contribution;
        this.t_supporting = textbook_supporting;
    }

    @Override
    public String toString() {
        return "成果id：" + a_id +
                "\n教材名称：" + t_name +
                "\n教材出版社：" + t_publisher +
                "\n教材出版时间：" + t_time +
                "\n贡献度：" + t_contribution +
                "\n佐证材料：" + t_supporting;
    }
}